<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:th="http://www.thymeleaf.org">
<head>
<title>首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
	 <div class="container"  id="content">
		 <section class="content-header">
			 <h1>
				 <i class="fa fa-file"></i>
				 <strong>信息分析</strong>
			 </h1>
			 <ol class="breadcrumb">
				 <li><a href="#"><i class="fa fa-home "></i>Home</a></li>
				 <li>信息管理</li>
				 <li class="active">信息分析</li>
			 </ol>
		 </section>
		 <!-- Main content -->
		 <section class="content">
			 <div class="box box-info">
			 	 <div class="box-header with-border">
                     <i class="fa fa-th-list"></i>
                     <h4 class="box-title">信息分析</h4>
                 </div>
                 <div class="box-body">
                    <div class="form-inline">
                    <input  class="form-control" id="startDate" name="startDate" th:value="${startDate}"  type="Date"/>
							<input class="form-control" id="endDate" name="endDate" th:value="${endDate}" type="Date"/>
							<span class="form-control" style="margin-left:20px">信息名称</span>
							<input class="form-control" type="text" id="name" name="customerName"/>
							 <button  type="button" class="btn btn-info  search_btn">查询</button>
						<!-- <div class="btn-group pull-right">
						<input  class="form-control" id="startDate" name="startDate" th:value="${startDate}" type="hidden"/>
							<input class="form-control" id="endDate" name="endDate" th:value="${endDate}"  type="hidden"/>
							 	<button  type="button" class="btn btn-info   addBtn">添加</button>
								<button  type="button" class="btn btn-info   editBtn">编辑</button>
							    <button  type="button" class="btn btn-info  delBtn" >删除</button>
							    <button  type="button" class="btn btn-info  seeBtn">查看详情</button>
							    <button  type="button" class="btn btn-info  search_btn">查询</button>
						</div> -->
				 	</div>
                 </div>
				<div class="box box-body" style="width:100%; overflow-x:scroll;">
					<table id="dataTable2" class="mytable dataTable table-bordered text-center table-striped table-hover" cellspacing="0" width="1300px" align="center">
						<thead>
							
							<tr>
								<th width="20%">部门-片区
									<select id="orderArea" multiple="multiple" size="10" style="width:100%">
												 <optgroup label="销售处">
													<option th:each="SaleOrderArea:${SaleOrderAreas}" 
												    th:value="${SaleOrderArea.superiorArea}"
												  th:text="${SaleOrderArea.areaName}" th:selected="${SaleOrderArea.isSelected}"></option>
												</optgroup>
												<optgroup label="成套处">
													<option th:each="CompleteOrderArea:${CompleteOrderAreas}" 
												    th:value="${CompleteOrderArea.superiorArea}"
												  th:text="${CompleteOrderArea.areaName}" th:selected="${CompleteOrderArea.isSelected}"></option>
												</optgroup>
												<optgroup label="外贸处">
													<option th:each="ForeignOrderArea:${ForeignOrderAreas}" 
												    th:value="${ForeignOrderArea.superiorArea}"
												  th:text="${ForeignOrderArea.areaName}" th:selected="${ForeignOrderArea.isSelected}"></option>
												</optgroup> 
												<optgroup label="售后服务处">
													<option th:each="shOrderAreas:${shOrderAreas}" 
												    th:value="${shOrderAreas.superiorArea}"
												  th:text="${shOrderAreas.areaName}" th:selected="${shOrderAreas.isSelected}"></option>
												</optgroup>
											</select>
								</th>
								<th width="20%">执行状态
									<select multiple="multiple" class="form-control" id="industryInfo" name="industryInfo">
					              			<option th:selected="${isSuccess.equals('失败')}" value="失败">失败</option>
					              			<option th:selected="${isSuccess.equals('成功')}" value="成功">成功</option>
					              			<option th:selected="${isSuccess.equals('跟踪中')}" value="跟踪中">跟踪中</option>
			                         </select>
								</th>
								<th width="20%">行业
									<select multiple="multiple" class="form-control" id="creditLevel" name="totalSum">
					              			<option th:each="industryInfo:${industryInfos}"
											  th:text="${industryInfo.title}"
											  ></option>
			                         </select>
								</th>
								
								<th width="20%">预计订货量
									<select multiple="multiple" class="form-control" id="chanceCount" name="zican" >
					              			<option th:selected="${chanceCount.equals('100万以下')}" value="100万以下">100万以下</option>
					              			<option th:selected="${chanceCount.equals('100-500万')}" value="100-500万">100-500万</option>
					              			<option th:selected="${chanceCount.equals('500-1000万')}" value="500-1000万">500-1000万</option>
					              			<option th:selected="${chanceCount.equals('1000万以上')}" value="1000万以上">1000万以上</option>
			                         </select>
								</th>
								
								<th width="20%">重要程度
									<select multiple="multiple" class="form-control" id="zican" name="zican" >
				              			<option value="☆">☆</option>
									     <option value="☆☆">☆☆</option>
									     <option value="☆☆☆">☆☆☆</option>
									     <option value="☆☆☆☆">☆☆☆☆</option>
									     <option value="☆☆☆☆☆">☆☆☆☆☆</option>
			                         </select>
								</th>
							</tr>
						</thead>
						<tbody>
							<table id="dataTable" class="mytable dataTable table-bordered text-center table-striped table-hover" cellspacing="0" width="1590px" align="center">
								<thead>
									<tr>
										<th width="4%">序号</th>
										<!-- <th width="2%"><input type="checkbox" id="checkAllContract"/></th> -->
										<!-- <th width="15%">客户编号</th> -->
										<th width="20%">信息名称</th>
										<th width="12%">重要程度</th>
										<th width="12%">所属部门-片区</th>
										<th width="12%">所属行业</th>
										<th width="12%">预计订货量</th>
									 	<th width="12%">订货单位</th> 
										<th width="12%">信息状态</th>
									</tr>
								</thead>
								<tbody></tbody>
							</table>
						</tbody>
					</table>
				</div>
				
			</div>
	  </section>  
	    <script th:src="@{/chanceTotal/ChanceTotalIndex.js}"></script> 
	 </div>
	
</body>
</html>